//
//  RequestError.h
//  DDKelai
//
//  Created by Admin on 16/1/9.
//  Copyright © 2016年 chenwenhao. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface RequestError : NSObject

//错误代码
@property (nonatomic, copy) NSString *errorCode;

//错误信息
@property (nonatomic, copy) NSString *errorMsg;

/**
 @brief 封装RequestError
 @param code 错误代码
 @param msg 错误信息
 @return 错误信息RequestError对象
 */
+ (RequestError *)initWithCode:(NSString *)code andErrorMsg:(NSString *)msg;

@end
